package com.easylinkin.linkappapi.facerecognition.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

@Data
@TableName("linkapp_face_camera")
public class FaceCamera {

    @TableId(type = IdType.AUTO)
    private Long id;

    @NotEmpty(message = "关联设备不能为空")
    @TableField("device_code")
    private String deviceCode;

    @NotEmpty(message = "摄像头位置不能为空")
    @TableField("position")
    private String position;

    @TableField("tenant_id")
    private String tenantId;

    @TableField("remarks")
    private String remarks;

    private transient String flvMediaUrl;

    private transient String status;

    private transient String unitName;

    @TableField("create_time")
    private Date createTime;
}
